package com.ph.irp.base.assistantmaterial.dao;

import java.io.Serializable;
import java.util.List;
import com.ph.irp.model.PBaseAssistantmaterialProductpurpose;

public interface PBaseAssistantmaterialProductpurposeDAO extends Serializable {

		
		List<PBaseAssistantmaterialProductpurpose> getAllproductpurposes()throws Throwable;
		
		void deleteProductpurpose(String productpurposeId)throws Throwable;
		
		PBaseAssistantmaterialProductpurpose getProductpurposeById(Integer productpurposeId)throws Throwable;
		
		List<PBaseAssistantmaterialProductpurpose> getProductpurposesByCode(String productpurposeCode)throws Throwable;
		
		List<PBaseAssistantmaterialProductpurpose> getProductpurposesByName(String productpurposeName)throws Throwable;
		
		List<PBaseAssistantmaterialProductpurpose> getProductpurposesByNameAndCode(String productpurposeName,String productpurposeCode)throws Throwable;
		
		void updateProductpurpose(PBaseAssistantmaterialProductpurpose productpurpose)throws Throwable;
		
		void addProductpurpose(PBaseAssistantmaterialProductpurpose productpurpose)throws Throwable;
		
}
